<!DOCTYPE html>
<style>
  @media all {
    div { }
  }
</style>
<script>
  document.styleSheets[0].cssRules[0].cssRules[0].style.foo = document;
</script>
